// icon图标-通用
import MixinsIconsStyle from '../../../../FatFatMeng-icon/icons-style.js'
// icon图标-仿优酷
import MixinsIconsFyk from '../../../../FatFatMeng-icon/icons-fyk.js'
export default {
	mixins:[
		MixinsIconsStyle,
		MixinsIconsFyk
	],
	methods:{
		// 回调监听方法在libs/mixin/mixins/createVideoContext/adVudei.js
		
		// 是否静音
		TapVolume(e){
			let event = {isMuted: e}
			this.$emit('changeMuted',event)
		},
		ad_play(){
			let event = {isPlay: true}
			this.$emit('changeBofang',event)
		},
		ad_pause(){
			let event = {isPlay: false}
			this.$emit('changeBofang',event)
		},
		ad_goFull(){
			if (this.isFull == false){
				// 全屏时，点击后回调进入全屏
				let event = {isFull: true}
				this.$emit('changeFull',event)
			}else {
				// 全屏时，点击后回调退出全屏
				let event = {isFull: false}
				this.$emit('changeFull',event)
			}
		},
		ad_extFull(){
			if (this.isFull == true){
				// 全屏时，点击后回调退出全屏
				let event = {isFull: false}
				this.$emit('changeFull',event)
			} else {
				// 非全屏时，点击后回调返回上一页事件
				let event = {Events: 'Back'}
				this.$emit('change',event)
			}
		},
		// 点击了广告视频的了解详情按钮
		open_adpage(){
			let event = {Events: 'adpage'}
			this.$emit('change',event)
		},
		// 点击了广告视频的 vip可关闭广告按钮
		close_advideo(e){
			let event = {Events: 'close_advideo'}
			this.$emit('change',event)
		},
		// 点击了广告视频的 更多按钮 （图标是3个点）
		tap_gengduo(){
			let event = {Events: 'gengduo'}
			this.$emit('change',event)
		}
	}
}